﻿# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(['flaskserver.py'],
             pathex=[],
             binaries=[],
             datas=[],
             hiddenimports=[],
             hookspath=[],
             hooksconfig={},
             runtime_hooks=[],
             excludes=["statsmodels"],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
             cipher=block_cipher)
             
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/statsmodels",prefix="statsmodels")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/numpy",prefix="numpy")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/pandas",prefix="pandas")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/scipy",prefix="scipy")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/dateutil",prefix="dateutil")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/patsy",prefix="patsy")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/xgboost",prefix="xgboost")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/impala",prefix="impala")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/thriftpy2",prefix="thriftpy2")
a.datas += Tree("/usr/local/lib/python3.6/dist-packages/cv2",prefix="cv2")
a.datas += Tree("/usr/lib/python3.6/tkinter",prefix="tkinter")
a.datas += Tree("/usr/lib/python3.6/lib-dynload",prefix="")
a.datas += Tree("./model",prefix="model")
a.datas += Tree("./cfg",prefix="cfg")
a.datas += Tree("./log",prefix="log")

exe = EXE(pyz,
          a.scripts, 
          [],
          exclude_binaries=True,
          name='flaskserver',
          debug=False,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          console=True,
          disable_windowed_traceback=False,
          target_arch=None,
          codesign_identity=None,
          entitlements_file=None )
coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas, 
               strip=False,
               upx=True,
               upx_exclude=[],
               name='flaskserver')
